package com.ecloud.gardenscenter.common.util;

import java.util.Map;
import java.util.Properties;

/**
 * @author Squbi
 */
public class PropUtil {
    private PropUtil() {
    }

    public static Properties joinProp(Properties prop1, Properties prop2) {
        for (Map.Entry<Object, Object> entry1 : prop1.entrySet()) {
            prop2.put(entry1.getKey(), entry1.getValue());
        }
        return prop2;
    }
}
